// 新增农作物主
import request from "@/utils/request";

export function addAround(data) {
  return request({
    url: '/crop/around',
    method: 'post',
    data: data
  })
}

// 修改农作物主
export function updateAround(data) {
  return request({
    url: '/crop/around',
    method: 'put',
    data: data
  })
}

//查找轮班列表
export function AroundListPage(query) {
  return request({
    url: '/crop/around/AroundListPage',
    method: 'get',
    params:query
  })
}
export function delAround(teamId) {
  return request({
    url: '/crop/around/' + teamId,
    method: 'delete'
  })
}

